package com.smt.modules.bus.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import com.smt.common.base.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author murong
 * @email 981620741@qq.com
 * @date 2018-10-23 11:57:13
 */
@Data
@TableName("email_stream")
public class EmailStreamEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 邮箱流水
	 */
	@TableId
	private Long id;
	/**
	 * 多个邮箱用,号分隔
	 */
	private String emails;
	/**
	 * 邮箱模板
	 */
	private String modle;
	/**
	 * 发送成功标识1成功0失败
	 */
	private Integer isSuccess;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 验证码json数据
	 */
	private String code;

	public EmailStreamEntity(String emails,String modle,Integer isSuccess,Date createTime,String code){
		this.emails = emails;
		this.modle = modle;
		this.isSuccess = isSuccess;
		this.code =code;
		this.createTime = createTime;
	}
}
